package com.six.action.settings;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

import com.opensymphony.xwork2.ActionSupport;
import com.six.biz.IPraManagementBiz;
import com.six.biz.impl.settings.IPraManagementBizImpl;
import com.six.vo.EnumData;

@Namespace("/settings")  
@ParentPackage(value = "settings") 
public class PraManagementAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7539385958881103867L;
	private IPraManagementBiz praManagementBiz = new IPraManagementBizImpl();//系统参数管理业务接口
	private int enumdCode;
	private int enumtCode;
	private String enumdName;
	private String enumdNote;
	private String enumdSeq;
	private String enumdEditTime;
	private int enumdIsDel;
	private String optMark;
	private int edname;
	private List<EnumData> enumDataList = new ArrayList<EnumData>();
	/**
	 * 恢复枚举数据活动状态
	 */
	@Action(value = "revertEnumDataAction")
	public String revertEnumData() throws Exception {
		return null;
		
	}
	/**
	 * 删除枚举数据（将枚举数据状态置为删除状态）
	 */
	@Action(value = "deleteEnumDataAction")
	public String deleteEnumData() throws Exception {
		return null;
		
	}
	/**
	 * 加载所有的枚举类型，供修改枚举数据使用
	 */
	@Action(value = "findAllEnumTypesAction", 
			results = { 
				@Result(name = "fail", location = "/global/error.jsp") 
				,@Result(name = "success", location = "/manager/PermissionManagement.jsp")
			}
	)
	public String findAllEnumTypes() throws Exception {
		return null;
		
	}
	/**
	 * 响应ᨀ交枚举数据信息新增更新请求
	 */
	@Action(value = "optEnumDataManagementAction", 
			results = { 
				@Result(name = "fail", location = "/global/error.jsp") 
				,@Result(name = "success", location = "/manager/PermissionManagement.jsp")
			}
	)
	public String optEnumDataManagement()throws Exception {
		return null;
		
	}
	/**
	 * 查询枚举数据列表
	 */
	@Action(value = "queryEnumDatasAction", 
			results = { 
				@Result(name = "fail", location = "/global/error.jsp") 
				,@Result(name = "success", location = "/manager/PermissionManagement.jsp")
			}
	)
	public String queryEnumDatas() throws Exception {
		return null;
		
	}
	/**
	 * 异步响应查询指定枚举数据信息，封装成 JSON 表达式返回
	 */
	@Action(value = "queryEnumDataInfoAction", 
			results = { 
				@Result(name = "fail", location = "/global/error.jsp") 
				,@Result(name = "success", location = "/manager/PermissionManagement.jsp")
			}
	)
	public String queryEnumDataInfo() throws Exception {
		return null;
		
	}
	
}
